package com.gpStudy.design.factory.abstractFactory;

import com.gpStudy.design.factory.abstractFactory.CarAbstractFactory;
import com.gpStudy.design.factory.bean.BenZ;
import com.gpStudy.design.factory.bean.BenZKey;
import com.gpStudy.design.factory.bean.Car;
import com.gpStudy.design.factory.bean.Key;

public class BenZCarFactory implements CarAbstractFactory {
    public Car createCar() {
        return new BenZ();
    }

    public Key makeKey() {
        return new BenZKey();
    }
}
